package com.eeds.service.role.impl;


import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.eeds.common.table.UserRoleEntity;
import com.eeds.dao.UserRoleDao;
import com.eeds.model.role.req.ReqGetRoleInfoListVO;
import com.eeds.service.role.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleServiceImpl implements RoleService {


    @Autowired
    private UserRoleDao roleDao;

    /**
     * 获取角色列表
     *
     * @param reqGetRoleInfoListVO
     * @return
     */
    @Override
    public List<UserRoleEntity> getRoleInfoList(ReqGetRoleInfoListVO reqGetRoleInfoListVO) {
        return roleDao.selectList(new EntityWrapper<>());
    }
}
